# 这里是各个的serializer
# 命名方式统一为serializer_数据表名
from rest_framework import serializers


class serializer_Virtualscene(serializers.Serializer):
    bs_identifier = serializers.IntegerField()
    transmit_power = serializers.IntegerField()
    rf_status = serializers.BooleanField()


class serializer_scene_user_element(serializers.Serializer):
    user_id = serializers.IntegerField()
    lon = serializers.FloatField()
    lat = serializers.FloatField()
    bs_identifier_id = serializers.IntegerField()
